package com.dyoud.api.user.dto;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 修改用户邮箱
 * 
 * @author Jonathan
 * @date 2018/03/01
 *
 */
public class UpdateAvatarDto {
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户头像
     */
    @NotBlank(message = "用户头像不能为空")
    private String avatar;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

}
